package com.app.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@Data
@TableName("c_class")
public class CClass {
    @TableId
    private Integer id;
    private String className;

    @TableField(exist = false)
    private List<CStudent> studentList;
}